// RoleService.java
package com.csxy.six.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.csxy.six.R;
import com.csxy.six.R2;
import com.csxy.six.entity.Role;

import java.util.List;

public interface RoleService extends IService<Role> {
    R2<List<Role>> getAllRoles();
    R2<Void> createRole(Role role);
    R2<Void> assignRole(Long userId, Long roleId);
}
